<admintpl file="header" />
</head>
<body>
<div class="wrap js-check-wrap">
	<ul class="nav nav-tabs">
		<li><a href="{:U('bdrun/queue_list')}">代排队订单管理</a></li>
		<li class="active"><a href="#">代排队订单查看</a></li>
	</ul>

	<form class="form-horizontal js-ajax-form" action="#" method="post">
		<div class="row-fluid">
			<div class="span12">
				<php>$order_status=array("0"=>'未处理',"1"=>'待分配',"2"=>'已分配',"3"=>'已到达',"4"=>'已拍照',,"5"=>"已完成","9"=>'已取消');
					$pay_methods=array("1"=>'直接支付（微信，支付宝）',"2"=>'钱包');
					$pay_status=array("1"=>'未支付',"2"=>'已支付',"3"=>'已退款');
					$cancel_part=array("1"=>'用户',"2"=>'派单员')
				</php>
				<table class="table table-bordered">
					<tr>
						<th width="80">城市:</th>
						<td>{$data['city_id']|getCityName}
						</td>
						<th width="150">订单号:</th>
						<td>{$data.order_number}
						</td>

					</tr>
					<tr>
						<th width="150">订单时间:</th>
						<td >{$data.order_time}
						</td>
						<th width="80">代排队类型:</th>
						<td >{$data[queue_type]}
						</td>
					</tr>
					<tr>
						<th width="80">代排队时间:</th>
						<td >{$data[queue_time]}
						</td>

						<th width="80">代排队时长:</th>
						<td >{$data[hour_long]}
						</td>
					</tr>
					<tr>
						<th width="80">延长时长:</th>
						<td >{$data[delayed]}
						</td>
						<th width="80">跑客工号:</th>
						<td>{$dispatchs[$data['dispatch_id']]['job_number']}
						</td>
					</tr>
					<tr>
						<th width="80">跑客姓名:</th>
						<td>{$dispatchs[$data['dispatch_id']]['dispatch_name']}
						</td>
						<th width="80">跑客电话:</th>
						<td>{$dispatchs[$data['dispatch_id']]['mobile']}
						</td>
					</tr>
					<tr>
						<th width="80">代排队电话:</th>
						<td>{$data.replace_mobile}
						</td>
						<th width="80">代排队地址:</th>
						<td>{$data.queue_address}
						</td>
					</tr>
					<tr>
						<th width="80">纬度:</th>
						<td>
							{$data.latit}
						</td>
						<th width="80">经度:</th>
						<td>
							{$data.lotit}
						</td>
					</tr>

					<tr>
						<th width="80">订单金额:</th>
						<td>{$data.order_money}
						</td>
						<th width="80">实付金额:</th>
						<td>
							{$data.real_amount}
						</td>
					</tr>

					<tr>
						<th width="80">优惠券:</th>
						<td>{$coupons[$data['coupon_id']]['coupon_type']}
						</td>
						<th width="80">{:L('DEDUCT_AMOUNT')}:</th>
						<td>{$data.deduct_amount}
						</td>

					</tr>
					<tr>
						<th width="80">订单总里程:</th>
						<td>{$data.total_mileage}
						</td>
						<th width="80">{:L('STATUS')}:</th>
						<td colspan="3">{$order_status[$data[status]]}
						</td>
					</tr>
					<tr>
						<th width="80">支付状态:</th>
						<td>	{$pay_status[$data[pay_status]]}
						</td>
						<th width="80">{:L('PAY_METHOD')}:</th>
						<td>{$pay_methods[$data[pay_method]]}
						</td>

					</tr>

					<tr>
						<th width="80">{:L('USER_EVAL_VALUE')}:</th>
						<td>{$data.user_eval_value}
						</td>
						<th width="80">{:L('DISP_EVAL_VALUE')}:</th>
						<td>{$data.disp_eval_value}
						</td>
					</tr>
					<tr>
						<th width="80">{:L('CANCEL_TIME')}:</th>
						<td>{$data.cancel_time}
						</td>
						<th width="80">{:L('CANCEL_PARTY')}:</th>
						<td>{$cancel_part[$data[cancel_party]]}
						</td>
					</tr>
					<tr>
						<th width="80">取消事由:</th>
						<td colspan="3">{$cancles[$data['cancel_reason_id']]['cancle_reason']}
						</td>
					<tr>
						<th width="80">{:L('DISP_BEFORE_IMG')}:</th>
						<td ><img src="{$data.disp_before_img}" />
						</td>
						<th width="80">代排队要求:</th>
						<td >{$data['remark']}
						</td>
					</tr>
				</table>
			</div>
		</div>
		</table>
		<div class="form-actions">
			<a class="btn" href="{:U('Bdrun/queue_list')}">{:L('BACK')}</a>
		</div>
	</form>
</div>

<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>